import 'package:flutter/material.dart';

import '../image_r.dart';
import '../module_config.dart';

class WalletAddContentWidget extends StatefulWidget {
  @override
  _WalletAddContentWidgetState createState() => _WalletAddContentWidgetState();
}

class _WalletAddContentWidgetState extends State<WalletAddContentWidget> {
  @override
  Widget build(BuildContext context) {
    return Column(
      crossAxisAlignment: CrossAxisAlignment.start,
      children: [
        Padding(
          padding: EdgeInsets.only(left: 15, top: 125),
          child: Text.rich(TextSpan(children: [
            WidgetSpan(
                child: Padding(
                  padding: EdgeInsets.only(right: 5),
                  child: Image.asset(ImageR.imagesAmazeSmallIcon,
                      width: 20,
                      height: 20,
                      color: Colors.grey[500],
                      fit: BoxFit.fill,
                      package: ModuleConfig.moduleName),
                ),
                alignment: PlaceholderAlignment.middle),
            TextSpan(
                text: "您暂未添加币种",
                style: TextStyle(fontSize: 16))
          ])),
        ),
        Padding(
          padding: EdgeInsets.only(left: 15, top: 20),
          child: Text("请点击卡片中的\"+\"添加钱包，可添加多个硬件钱包，\n钱包可单独管理相关资产，钱包可添加多个币种"),
        )
      ],
    );
  }
}
